home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group93b.txt
/
000102_icon-group-sender _Fri May 14 04:49:37 1993.msg
< prev
next >
Wrap
Internet Message Format
|
1993-06-16
|
1KB
Received: from owl.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Tue, 18 May 1993 09:46:53 MST
Received: by owl.cs.arizona.edu; Tue, 18 May 1993 09:46:52 MST
Date: 14 May 93 04:49:37 GMT
From: agate!howland.reston.ans.net!ux1.cso.uiuc.edu!uchinews!ellis!goer@ucbvax.Berkeley.EDU (Richard L. Goerwitz)
Organization: University of Chicago
Subject: Re: Icon vs Prolog, docs, availability ?
Message-Id: <1993May14.044937.12543@midway.uchicago.edu>
References: <borbor-130593120939@129.194.82.105>, <1993May14.020130.17872@organpipe.uug.arizona.edu>
Sender: icon-group-request@cs.arizona.edu
To: icon-group@cs.arizona.edu
Status: R
Errors-To: icon-group-errors@cs.arizona.edu
dave@cs.arizona.edu (Dave Schaumann) writes:
> Select a in (size of list) and i in L[a]. The loop terminates when
> L[a] is empty for all a.
>
>This can be expressed very nicely in Icon as
>
> while a := 1 to *L & i := !L[a] do {
> # do the loop stuff
> }
I might tend to write the loop stuff as applying to every !!L,
which produces every element of every element of L, unless the
code involved actual shortening of L and/or L's elements.
--
-Richard L. Goerwitz goer%midway@uchicago.bitnet
goer@midway.uchicago.edu rutgers!oddjob!ellis!goer